//
//  SEGSharedHotTopicModel.m
//  ExcellentHome
//
//  Created by 揭婧雯 on 2017/10/18.
//  Copyright © 2017年 陈区. All rights reserved.
//

#import "SEGSharedHotTopicModel.h"

@implementation SEGSharedHotTopicModel
- (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    self = [super init];
    if (self) {
        _id = @"";
        _title = @"";
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    return [[self alloc] initWithDictionary:dictionary];
}
- (void)setValue:(id)value forUndefinedKey:(NSString*)key
{}
- (void)setId:(NSString*)id{
    _id = [[SEGUtils ValueToString:id]copy];
}
- (void)setTitle:(NSString*)title{
    _title = [[SEGUtils ValueToString:title]copy];
}
@end
